package net.jueb.frameworkDemo.se.observer.eventBus2.impl;

import net.jueb.frameworkDemo.se.observer.eventBus2.Event;
import net.jueb.frameworkDemo.se.observer.eventBus2.EventBus;
import net.jueb.frameworkDemo.se.observer.eventBus2.EventBusImpl;

public class Test {

	public static void main(String[] args) {
		EventBus eb=new EventBusImpl();
		eb.register(LevelUpEvent.NAME, new LevelUpEventReceiver2());
		eb.post(new Event<LevelUpEvent>(LevelUpEvent.NAME, new LevelUpEvent()));
	}
}
